package cn.yexiaofeng.bookmanager.service;


import cn.yexiaofeng.bookmanager.beans.Admin;
import cn.yexiaofeng.bookmanager.dao.AdminMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 用户
 */
@Service
public class AdminServiceImpl  implements  AdminService{

    @Autowired
    AdminMapper adminMapper;


    @Override
    public Admin getAdmin(Admin admin) {
        return adminMapper.getAdmin(admin);
    }
}